﻿using System.Transactions;

namespace Huioo.Learning.Agile.PayrollUI
{
    internal class AddSalariedEmployee : Transaction
    {
        private int empId;
        private string name;
        private string address;
        private double salary;
        private PayrollDatabase database;

        public AddSalariedEmployee(int empId, string name, string address, double salary, PayrollDatabase database)
        {
            this.empId = empId;
            this.name = name;
            this.address = address;
            this.salary = salary;
            this.database = database;
        }
    }
}